html {
    overflow: hidden;
    height: 100%;
}

body {
    overflow: auto;
    height: 100%;
}

.test-tip {
    position: absolute;
    top: 0;
    left: 0;
    color: red;
    font-size: 30px;
    font-weight: bold;
}

.J_replace_content {
    * {
        font-family: Avenir-Next-Demi-Blod, FZLT-ZHJ;
        box-sizing: border-box;
    }
}

@keyframes turn {
    0% {
        -webkit-transform: rotate(0)
    }
    25% {
        -webkit-transform: rotate(90deg)
    }
    50% {
        -webkit-transform: rotate(180deg)
    }
    75% {
        -webkit-transform: rotate(270deg)
    }
    100% {
        -webkit-transform: rotate(360deg)
    }
}

.sticky-box {
    width: 100%;
    height: 100vh;
    position: sticky;
    position: -webkit-sticky;
    overflow: hidden;
    top: 0;
    min-height: 980px;
}

.figure-box {
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    height: 100vh;
    width: 100%;
    .figure {
        position: relative;
        width: 100%;
        height: 100%;
    }
}

.stage1 {
    background-color: white;
    position: relative;
    .video {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

// 1.商品banner
.tws-kv {
    background-color: #FFFFFF;
    height: 880px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    overflow: hidden;
    background-image: url("../images/bg-kv.png");
    background-position: 0 -200px;
    background-size: 1920px 1080px;
    background-repeat: no-repeat;
    .figure-box {
        // 视频需要为1920*1080
        width: 1920px;
        // todo: 需要展示video，并且删除tws-kv的background
        display: none;
    }
    .kv-wrapper {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-right: 110px;
        padding-bottom: 80px;
        .kv-p-name {
            width: 490px;
            height: 50px;
            background-image: url("../images/p-name.png");
            background-position: 0 0;
            background-size: 100% 100%;
            background-repeat: no-repeat;
        }
        .kv-title1 {
            margin-top: 30px;
            font-size: 72px;
            color: #000000;
            font-family: FZLT-ZHJ;
        }
        .kv-sub-title {
            margin-top: 45px;
            color: #000000;
            font-weight: bold;
            font-family: FZLT-ZHJ;
        }
        .kv-tip {
            margin-top: 150px;
            color: #8b8b8b;
            font-size: 12px;
            line-height: 16px;
        }
        .btn-group {
            margin-top: 50px;
            display: flex;
            justify-content: center;
            .textlink {
                cursor: pointer;
                display: inline-block;
                box-sizing: border-box;
                transition: border .3s cubic-bezier(.645, .045, .355, 1);
                border: 2px solid #000;
                border-radius: 50px;
                .textlink-box {
                    a {
                        position: relative;
                        display: inline-block;
                        box-sizing: border-box;
                        padding: 17px 23px 15px 28px;
                        p {
                            color: #000;
                            will-change: transform;
                            transition: color .3s cubic-bezier(.645, .045, .355, 1);
                            font-size: 16px;
                            line-height: 16px;
                            font-family: Avenir-Next-Demi-Blod, FZLT-ZHJ;
                            span {
                                vertical-align: middle;
                                will-change: transform;
                                margin-left: 10px;
                                svg {
                                    fill: #000;
                                    -webkit-transition: fill .3s cubic-bezier(.645, .045, .355, 1);
                                    transition: fill .3s cubic-bezier(.645, .045, .355, 1);
                                }
                            }
                        }
                    }
                }
                &:hover {
                    border: 2px solid #415fff;
                    .textlink-box {
                        a {
                            p {
                                color: #415fff;
                                span {
                                    svg {
                                        fill: #415fff
                                    }
                                }
                            }
                        }
                    }
                }
                &:active {
                    background: rgba(65, 95, 255, .3);
                    border: 2px solid #415fff
                }
            }
            .second-button {
                margin-left: 24px;
            }
        }
    }
}

// 2.观看影片
.tws-movie {
    height: auto;
    .movie-box {
        position: relative;
        width: 100%;
        height: 905px;
        .btn-play {
            position: absolute;
            top: 50%;
            left: 50%;
        }
    }
    .btn-play {
        position: absolute;
        top: 0;
        left: 0;
        width: 98px;
        height: 98px;
        .play-outter {
            position: absolute;
            top: 0;
            left: 0;
            width: 98px;
            height: 98px;
            background-image: url("../images/play-outter.png");
            background-position: 0 0;
            background-size: 100% 100%;
            background-repeat: no-repeat;
            animation: turn 1s linear infinite;
        }
        .play-inner {
            position: absolute;
            top: 0;
            left: 0;
            width: 98px;
            height: 98px;
            background-image: url("../images/play-inner.png");
            background-position: 0 0;
            background-size: 100% 100%;
            background-repeat: no-repeat;
        }
    }
}

// 3.亮点
.tws-sale {
    height: 150vh;
    background: #FAFAFC;
    .sticky-box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        .sale-row {
            display: flex;
            justify-content: center;
            align-items: center;
            &.row1 {
                margin-bottom: 10px;
            }
            .sale-item {
                background-position: 0 0;
                background-size: 100% 100%;
                background-repeat: no-repeat;
                display: flex;
                justify-content: flex-start;
                align-items: flex-end;
                color: #000000;
                font-size: 23px;
                line-height: 34px;
                padding-left: 30px;
                padding-bottom: 15px;
                &.sale1 {
                    width: 525px;
                    height: 326px;
                    background-image: url("../images/sale1.png");
                    margin-right: 12px;
                }
                &.sale2 {
                    width: 525px;
                    height: 326px;
                    background-image: url("../images/sale2.png");
                }
                &.sale3 {
                    width: 257px;
                    height: 326px;
                    background-image: url("../images/sale3.png");
                    margin-right: 12px;
                }
                &.sale4 {
                    width: 257px;
                    height: 326px;
                    background-image: url("../images/sale4.png");
                    margin-right: 12px;
                }
                &.sale5 {
                    width: 257px;
                    height: 326px;
                    background-image: url("../images/sale5.png");
                    margin-right: 12px;
                }
                &.sale6 {
                    width: 257px;
                    height: 326px;
                    background-image: url("../images/sale6.png");
                }
            }
        }
    }
}

// 4.耳机拆解
.tws-chaijie {
    height: 400vh;
    background-color: white;
    .sticky-box {}
    // 音效
    .tws-yinxiao {
        position: relative;
        width: 100%;
        top: 100px;
        height: 500px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: Avenir-Next-Demi-Blod, FZLT-ZHJ;
        .yin-left {
            .yin1 {
                color: #000000;
                font-size: 30px;
                margin-bottom: 20px;
            }
            .yin2 {
                color: #000000;
                font-size: 50px;
                margin-bottom: 16px;
            }
            .yin3 {
                color: #000000;
                font-size: 50px;
                background: linear-gradient(75deg, #58A6F9 0%, #5FE9F9 70.1416015625%, #75F4E6 94.9951171875%, #97FAC5 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
            }
        }
        .yin-right {
            width: 434px;
            color: #ADADAD;
            font-size: 20px;
            margin-left: 188px;
        }
    }
    // canvas
    .tws-chaijie-animate {
        width: 1116px;
        height: 774px;
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
}

// 5.气体流通
.tws-breath {
    background: #fff;
    height: 350vh;
    .section {
        padding-top: 180px;
        .title-wrapper {
            .main-title {
                font-family: Avenir-Next-Demi-Blod, FZLT-ZHJ;
                color: aqua;
                font-size: 30px;
                margin-bottom: 10px;
                text-align: center;
                background: linear-gradient(0deg, #58A6F9 0%, #5FE9F9 70.1416015625%, #75F4E6 94.9951171875%, #97FAC5 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
            }
            .intro {
                font-family: Avenir-Next-Demi-Blod, FZLT-ZHJ;
                color: #ADADAD;
                font-size: 20px;
                line-height: 30px;
                text-align: center;
            }
        }
    }
    .tws-breath-animate-box {
        margin-top: 60px;
        margin-bottom: 120px;
        width: 960px;
        height: 480px;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        canvas {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 900px;
            height: 450px;
            background-size: 900px 450px
        }
    }
}

@media (min-width:1921px) {
    .tws-breath {}
}

@media (max-width:1440px) {
    .tws-breath {}
}

@media (max-width:1000px) {
    .tws-breath {}
}

// 6.音效tab+跑马灯
.tws-sound-marquee {
    height: 100vh;
    color: red;
}

.swiper {
    width: 100%;
    background: #FAFAFC;
}

.swiper-slide {
    text-align: center;
    font-size: 1.8rem;
    width: 1153px;
    background: #FAFAFC;
    overflow: hidden;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    transition: 300ms;
    transform: scale(0.9);
}

.swiper-slide-active,
.swiper-slide-duplicate-active {
    transform: scale(1);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
}

// 6.音效tab+跑马灯
.tws-swiper {
    background-color: #FAFAFC;
    padding-top: 173px;
    padding-bottom: 173px;
    .deep-des {
        display: flex;
        justify-content: center;
        padding-top: 170px;
    }
    .deep-des .left {
        width: 540px;
    }
    .deep-des .pp {
        font-size: 30px;
        font-family: FZLTZHJW;
        font-weight: normal;
        color: #000000;
    }
    .deep-des .dd {
        font-size: 50px;
        font-family: FZLTZHJW;
        font-weight: normal;
        color: #000000;
    }
    .deep-des .des {
        width: 441px;
        font-size: 20px;
        font-family: FZLTZHJW;
        font-weight: normal;
        color: #ADADAD;
        margin-left: 30px;
    }
    .tab {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 128px;
        margin-bottom: 78px;
    }
    .tab .item {
        margin-right: 90px;
    }
    .tab .item .s-tit {
        font-size: 40px;
        font-family: FZLTZHJW;
        font-weight: normal;
        color: #000000;
    }
    .tab .item .d-tit {
        font-size: 24px;
        font-family: FZLTZHJW;
        font-weight: normal;
        color: #ADADAD;
    }
    .tab .item .active {
        background: linear-gradient(0deg, #58A6F9 0%, #58B9F9 38.7939453125%, #5ADFF9 70.947265625%, #82F8D9 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

// 7.层叠动画
.tws-stack {
    .stack-item {
        width: 100%;
        height: 100vh;
        background-position: 0 0;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        &.item1 {
            background-image: url('../images/pic-stack1.png');
        }
        &.item2 {
            background-image: url('../images/pic-stack2.png');
        }
    }
}

// 8.灵动腰线
.tws-beltline {
    height: 300vh;
    .sticky-box {
        .tws-beltline-animate {
            position: relative;
            width: 100%;
            height: 100vh;
            -o-object-fit: cover;
            object-fit: cover;
            background-size: cover;
            background-position: center;
        }
    }
}

// 9.色彩碰撞
.tws-color {
    width: 100%;
    .section {
        width: 100%;
        padding-top: 170px;
        padding-bottom: 170px;
        display: flex;
        justify-content: center;
        align-items: center;
        .left {
            .title1 {
                font-size: 51px;
                font-family: FZLTZHJW;
                font-weight: normal;
                color: #000000;
                line-height: 67px;
                background: linear-gradient(0deg, #58A6F9 0%, #5FE9F9 70.1416015625%, #75F4E6 94.9951171875%, #97FAC5 100%);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                margin-bottom: 16px;
            }
            .title2 {
                font-size: 51px;
                font-family: FZLTZHJW;
                font-weight: normal;
                color: #000000;
                line-height: 67px;
            }
        }
        .right {
            width: 457px;
            margin-left: 138px;
            font-size: 20px;
            font-family: FZLTZHJW;
            font-weight: normal;
            color: #ADADAD;
            line-height: 32px;
        }
    }
    .color-page {
        img {
            display: block;
            margin: 0;
            width: 100%;
            height: auto;
        }
    }
}

// 10.老虎机+电量
.tws-tiger {
    position: relative;
    img {
        display: block;
        width: 100%;
        height: auto;
    }
}

// 11.游戏
.tws-game {
    position: relative;
    img {
        display: block;
        width: 100%;
        height: auto;
    }
}

// 12.闪连
.tws-cp {
    position: relative;
    img {
        display: block;
        width: 100%;
        height: auto;
    }
}

// 13.精彩
.tws-wonderful {
    width: 100%;
    height: 1268px;
    background: #FAFAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    .mb_90 {
        margin-bottom: 90px;
    }
    .content {
        width: 1130px;
        height: 855px;
    }
    .content .title {
        margin-bottom: 100px;
    }
    .content .t1 {
        font-size: 30px;
        font-family: FZLTZHJW;
        font-weight: normal;
        color: #000000;
    }
    .content .t2 {
        font-size: 50px;
        font-family: FZLTZHJW;
        font-weight: normal;
        color: #000000;
    }
    .content .tag {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .content .item img {
        width: 51px;
        height: 51px
    }
    .content .item {
        width: 328px;
    }
    .content .item .tt {
        font-size: 23px;
        font-family: FZLTZHJW;
        font-weight: normal;
        color: #000000;
        margin-top: 28px;
    }
    .content .item .des {
        font-size: 13px;
        font-family: FZLanTingHei-R-GBK;
        font-weight: 400;
        color: #ADADAD;
        margin-top: 20px;
    }
}

// 14.注释
.tws-comment {
    background: white;
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    .comment-row {
        width: 973px;
        font-size: 16px;
        line-height: 24px;
        color: #ADADAD;
        margin-bottom: 10px;
        &:first-child {
            margin-bottom: 27px;
        }
    }
}